package com.ruiyi.adrobot.mongo.phone;

import com.ruiyi.adrobot.beans.Phone;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created by tao.zeng on 2017/6/8.
 */
public interface PhoneRepository extends MongoRepository<Phone, String>, PhoneOperations {
    Phone findByPhone(String receiver);

    Phone findBySent(boolean b);
}
